[misc] Iterm2 - integrate zsh
-Apr 18, 2019
- install Iterm2
 - brew install zsh
 - 
install open-my-zsh
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" - choose color in preferences
 - set ZSH_THEME="agnoster" in ~/.zshrc
 - change font to d2font by naver >> ligature
 - syntax_highlighting
 
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git
echo "source ${(q-)PWD}/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" >> ${ZDOTDIR:-$HOME}/.zshrc
- remove mac-book
 
prompt_context() {
  if [[ "$USER" != "$DEFAULT_USER" || -n "$SSH_CLIENT" ]]; then
    prompt_segment black default "%(!.%{\%F{yellow}%}.)$USER"
  fi
}